import service from "@/utils/http";


export function queryCard(data) {
    return service.post(
        "/card/query",data
    );
}

export function addCard(data) {
    return service.post(
        "/card/add",
        data
    );
}

export function updateCard(data) {
    return service.post(
        "/card/update",
        data
    );
}

export function deleteCard(data) {
    return service.post(
        "/card/del",
        data
    );
}

// 更新同列表里面的顺序
export function updateSameLineSort(data) {
    return service.post("/card/updateSameLineSort", data)
}
